package com.sychronized;

public class MyThreadsDemo {
    public static void main(String[] args) {
        Thread thread = new Thread(new boyThreads());
        Thread thread1 = new Thread(new girlThreads());
//        开启两个响应的线程
        thread1.start();
        thread.start();
    }
}
